package com.qiandw.entity;

import com.qiandw.enums.SexEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserEntity {
    private Long id;
    private String userName;
    private String passWord;
    private SexEnum userSex;
    private String nickName;
    public UserEntity(String userName, String passWord, SexEnum sex){
        this.userName = userName;
        this.passWord = passWord;
        this.userSex = sex;
    }
}
